<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Administrator
 * Date: 25/05/11
 * Time: 16:35
 * To change this template use File | Settings | File Templates.
 */

define("PRIORITY_HIGH", 1);
class Logger {

    public static function log($message, $priority = 0) {

        SQL::query("INSERT INTO `logs` (`priority`,`message`), value $message, $priority");

    }


}
